//摄像头接口
export interface CameraListData{
    id:number
    camera_name:string//摄像头名
    org_name:string//工区名称
    video_url:string//视频流地址
    pull_url:string//推送地址
    identify_type:string//识别类型
    begin_time:string//实时识别开始时间
    end_time:string//实时识别结束时间
    play_status:string//播放状态
    his_identify_begin_time:string//历史流识别开始时间
    his_identify_end_time:string//历史流识别结束时间
    is_play:boolean //是否实时取流
    is_his_play:boolean //是否历史流分析
    camera_index_code:string //摄像头唯一标识代码
}
//对象数组，字符串数组是Array<string>
export interface CameraListArray{
    [index: number]: CameraListData
}

export interface CameraListItem{
    org_name:string
    camera_list:CameraListArray
}

//查询接口
export interface SearchModelData{
    currentPage: number
    pageSize: number
    cameraName: string
    orgName:string
}

//异常报警信息
export interface ExceptionInfoData{
    id:number
    camera_name:string
    org_name:string
    warn_time:string
    warn_content:string
    warn_type:string
}

export interface ESearchModelData extends SearchModelData{
    begin_time:string
    end_time:string
    warn_content:string
    warn_type:string
}

export interface MSearchModelData extends SearchModelData{
    modelName:string
}

export interface DelPatchListData{
    delPatchList: any
}

//模型
export interface ModelListData{
    id:number
    model_name:string
    identify_cycle:string
    state:boolean
}

//用户配置
export interface UserConfigData{
    id:number
    ip:string
    app_key:string
    secret:string
    playback_time:string
    his_identify_time:string
}